package com.kfm;

public class JFCat extends Cat{
    public static void main(String[] args) {
        Cat cat = new Cat();
        // protected 修饰的方法和成员变量可以在子类中访问
        System.out.println(cat.name);
    }

}
